package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author:lsw
 * @Time: 19-7-23 下午8:15
 * @Copyright: ©  杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Document(collection="t_sys_log")
@Data
@ApiModel(description = "系统日志")
public class MdmSysLogExportVO {
    @ApiModelProperty("操作模块")
    @Excel(name = "操作模块",orderNum = "1")
    private String operatorModule;

    @ApiModelProperty("状态")
    @Excel(name = "状态",orderNum = "2")
    private String operatorType;

    @ApiModelProperty("操作人")
    @Excel(name = "操作人",orderNum = "3")
    private String operatorName;

    @ApiModelProperty("所属机构")
    @Excel(name = "所属机构",orderNum = "4")
    private String organ;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "操作时间",orderNum = "5",exportFormat="yyyy-MM-dd HH:mm:ss")
    private Date operatorTime;

    @ApiModelProperty("描述")
    @Excel(name = "描述",orderNum = "6")
    private String describe;
}
